// OutputStream.h: interface for the OutputStream class.
//
//////////////////////////////////////////////////////////////////////

#if !defined(AFX_OUTPUTSTREAM_H__204F61BE_588B_49C1_A956_225F6F850AE7__INCLUDED_)
#define AFX_OUTPUTSTREAM_H__204F61BE_588B_49C1_A956_225F6F850AE7__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

#include "IOException.h"
#include "../types.h"
class OutputStream  
{
private:
	SOCKET socket;	
public:
	OutputStream();
	virtual void write(Mensaje& data);
	virtual void write(char* data, unsigned int length);
	virtual ~OutputStream();
	void setSocket(SOCKET sock) {this->socket = sock; }

};

#endif // !defined(AFX_OUTPUTSTREAM_H__204F61BE_588B_49C1_A956_225F6F850AE7__INCLUDED_)
